package com.kofan.shelter.api.bean;

public class CodeConstants {
    public class Login {
        // 无token
        public static final String NO_TOKEN = "401";
        // token 过期
        public static final String NO_TOKEN_VALUE = "402";
        // token 对应用户信息错误
        public static final String NO_TOKEN_USER = "403";

        public static final String NO_WX_USER = "404";
        // 密码错误
        public static final String PASSWORD_ERROR = "301";
    }

    public class Auth {
        // 权限不足
        public static final String NO_AUTH = "601";
        // 权限不足 TAB
        public static final String NO_AUTH_TAB = "601";
    }

    public class Parameters {
        // 参数错误
        public static final String PARAMETERS_ERROR = "101";
        // 参数错误
        public static final String PARAMETERS_WARN = "102";
        // 数据加密错误
        public static final String PARAMETERS_ENCRYPT_ERROR = "103";

    }

    public class System {
        public static final String SYS_ERR = "500";
    }

    public class Mac {
        public static final String MAC_ERR = "201";
    }

    public class Error {
        public static final String DATA_ERR = "202";
    }

    public class IsNull {
        public static final String ISNULL_ERR = "203";
    }


}
